package down.xiaoheihe.work.Mapper;

import down.xiaoheihe.work.Entity.TProduct;
import down.xiaoheihe.work.Entity.TProductExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TProductMapper {
    long countByExample(TProductExample example);

    int deleteByExample(TProductExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TProduct row);

    int insertSelective(TProduct row);

    List<TProduct> selectByExample(TProductExample example);

    TProduct selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("row") TProduct row, @Param("example") TProductExample example);

    int updateByExample(@Param("row") TProduct row, @Param("example") TProductExample example);

    int updateByPrimaryKeySelective(TProduct row);

    int updateByPrimaryKey(TProduct row);
}